package com.rzjm.exercise.common.enums;

import lombok.Getter;

/**
 * Created by SqMax on 2018/3/18.
 */
@Getter
public enum OrderStatusEnum implements CodeEnum {
    NEW(1, "待确认"),
    FINISHED(2, "待出行"),
    WAIT(3, "已入住"),
    CHECKEDIN(4, "已完成"),
    CANCLE(5, "已取消"),
    NOCHECKEDIN(6, "未入住");

    private Integer code;
    private String message;

    OrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
